/*
 * *******************************************************************
 *   @项目名称: BHex Android
 *   @文件名称: InviteInfoResponse.java
 *   @Date: 18-12-25 下午5:53
 *   @Author: ppzhao
 *   @Description:
 *   @Copyright（C）: 2018 BlueHelix Inc.   All rights reserved.
 *   注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的.
 *  *******************************************************************
 */

package io.bhex.sdk.invite.bean;

import io.bhex.baselib.network.response.BaseResponse;

public class InviteInfoResponse extends BaseResponse {

    /**
     * inviteCode : Byqe22
     * inviteInfoDTO : {"userId":"94098590733434880","inviteCount":3,"inviteVaildCount":3,"inviteDirectVaildCount":3,"inviteIndirectVaildCount":0,"inviteLevel":1,"directRate":0.4,"indirectRate":0.03,"bonusCoin":150.34354565,"bonusPoint":0.23423565}
     */

    private String inviteCode;
    private String ruleUrl;//返佣规则地址
    private InviteInfoDTOBean inviteInfoDTO;

    public String getRuleUrl() {
        return ruleUrl;
    }

    public void setRuleUrl(String ruleUrl) {
        this.ruleUrl = ruleUrl;
    }

    public String getInviteCode() {
        return inviteCode;
    }

    public void setInviteCode(String inviteCode) {
        this.inviteCode = inviteCode;
    }

    public InviteInfoDTOBean getInviteInfoDTO() {
        return inviteInfoDTO;
    }

    public void setInviteInfoDTO(InviteInfoDTOBean inviteInfoDTO) {
        this.inviteInfoDTO = inviteInfoDTO;
    }

    public static class InviteInfoDTOBean {
        /**
         * userId : 94098590733434880
         * inviteCount : 3
         * inviteVaildCount : 3
         * inviteDirectVaildCount : 3
         * inviteIndirectVaildCount : 0
         * inviteLevel : 1
         * directRate : 0.4
         * indirectRate : 0.03
         * bonusCoin : 150.34354565
         * bonusPoint : 0.23423565
         */

        private String userId;
        private int inviteCount;
        private int inviteVaildCount;
        private int inviteDirectVaildCount;
        private int inviteIndirectVaildCount;
        private int inviteLevel;
        private String directRate;
        private String indirectRate;
        private String bonusCoin;
        private String bonusPoint;

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public int getInviteCount() {
            return inviteCount;
        }

        public void setInviteCount(int inviteCount) {
            this.inviteCount = inviteCount;
        }

        public int getInviteVaildCount() {
            return inviteVaildCount;
        }

        public void setInviteVaildCount(int inviteVaildCount) {
            this.inviteVaildCount = inviteVaildCount;
        }

        public int getInviteDirectVaildCount() {
            return inviteDirectVaildCount;
        }

        public void setInviteDirectVaildCount(int inviteDirectVaildCount) {
            this.inviteDirectVaildCount = inviteDirectVaildCount;
        }

        public int getInviteIndirectVaildCount() {
            return inviteIndirectVaildCount;
        }

        public void setInviteIndirectVaildCount(int inviteIndirectVaildCount) {
            this.inviteIndirectVaildCount = inviteIndirectVaildCount;
        }

        public int getInviteLevel() {
            return inviteLevel;
        }

        public void setInviteLevel(int inviteLevel) {
            this.inviteLevel = inviteLevel;
        }

        public String getDirectRate() {
            return directRate;
        }

        public void setDirectRate(String directRate) {
            this.directRate = directRate;
        }

        public String getIndirectRate() {
            return indirectRate;
        }

        public void setIndirectRate(String indirectRate) {
            this.indirectRate = indirectRate;
        }

        public String getBonusCoin() {
            return bonusCoin;
        }

        public void setBonusCoin(String bonusCoin) {
            this.bonusCoin = bonusCoin;
        }

        public String getBonusPoint() {
            return bonusPoint;
        }

        public void setBonusPoint(String bonusPoint) {
            this.bonusPoint = bonusPoint;
        }
    }
}
